#!/usr/bin/awk -f

BEGIN {
    OFS=","
    max
    min
}

{
    max=$1
    min=$2
}
END{
    print max,min
}